package uy.com.tsi2G7.superbet.integration.betfair.exchange.service;

public class BFExchangeServiceProxy implements uy.com.tsi2G7.superbet.integration.betfair.exchange.service.BFExchangeService_PortType {
  private String _endpoint = null;
  private uy.com.tsi2G7.superbet.integration.betfair.exchange.service.BFExchangeService_PortType bFExchangeService_PortType = null;
  
  public BFExchangeServiceProxy() {
    _initBFExchangeServiceProxy();
  }
  
  public BFExchangeServiceProxy(String endpoint) {
    _endpoint = endpoint;
    _initBFExchangeServiceProxy();
  }
  
  private void _initBFExchangeServiceProxy() {
    try {
      bFExchangeService_PortType = (new uy.com.tsi2G7.superbet.integration.betfair.exchange.service.BFExchangeService_ServiceLocator()).getBFExchangeService();
      if (bFExchangeService_PortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)bFExchangeService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)bFExchangeService_PortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (bFExchangeService_PortType != null)
      ((javax.xml.rpc.Stub)bFExchangeService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.service.BFExchangeService_PortType getBFExchangeService_PortType() {
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType;
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetSilksResp getSilks(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetSilksReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getSilks(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetSilksV2Resp getSilksV2(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetSilksV2Req request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getSilksV2(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetAccountFundsResp getAccountFunds(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetAccountFundsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getAccountFunds(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.HeartbeatResp heartbeat(uy.com.tsi2G7.superbet.integration.betfair.exchange.HeartbeatReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.heartbeat(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.CancelBetsResp cancelBets(uy.com.tsi2G7.superbet.integration.betfair.exchange.CancelBetsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.cancelBets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.CancelBetsByMarketResp cancelBetsByMarket(uy.com.tsi2G7.superbet.integration.betfair.exchange.CancelBetsByMarketReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.cancelBetsByMarket(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.UpdateBetsResp updateBets(uy.com.tsi2G7.superbet.integration.betfair.exchange.UpdateBetsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.updateBets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.PlaceBetsResp placeBets(uy.com.tsi2G7.superbet.integration.betfair.exchange.PlaceBetsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.placeBets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketResp getMarket(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMarket(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketInfoResp getMarketInfo(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketInfoReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMarketInfo(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketPricesResp getMarketPrices(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketPricesReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMarketPrices(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCompleteMarketPricesCompressedResp getCompleteMarketPricesCompressed(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCompleteMarketPricesCompressedReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getCompleteMarketPricesCompressed(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketTradedVolumeCompressedResp getMarketTradedVolumeCompressed(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketTradedVolumeCompressedReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMarketTradedVolumeCompressed(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketPricesCompressedResp getMarketPricesCompressed(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketPricesCompressedReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMarketPricesCompressed(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetAllMarketsResp getAllMarkets(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetAllMarketsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getAllMarkets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetInPlayMarketsResp getInPlayMarkets(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetInPlayMarketsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getInPlayMarkets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetPrivateMarketsResp getPrivateMarkets(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetPrivateMarketsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getPrivateMarkets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCurrentBetsResp getCurrentBets(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCurrentBetsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getCurrentBets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCurrentBetsLiteResp getCurrentBetsLite(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCurrentBetsLiteReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getCurrentBetsLite(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMUBetsResp getMUBets(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMUBetsReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMUBets(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMUBetsLiteResp getMUBetsLite(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMUBetsLiteReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMUBetsLite(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetDetailedAvailableMktDepthResp getDetailAvailableMktDepth(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetDetailedAvailableMktDepthReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getDetailAvailableMktDepth(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketTradedVolumeResp getMarketTradedVolume(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketTradedVolumeReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMarketTradedVolume(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetHistoryResp getBetHistory(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetHistoryReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getBetHistory(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetAccountStatementResp getAccountStatement(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetAccountStatementReq req) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getAccountStatement(req);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketProfitAndLossResp getMarketProfitAndLoss(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetMarketProfitAndLossReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getMarketProfitAndLoss(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetResp getBet(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getBet(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCouponResp getCoupon(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetCouponReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getCoupon(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetLiteResp getBetLite(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetLiteReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getBetLite(request);
  }
  
  public uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetMatchesLiteResp getBetMatchesLite(uy.com.tsi2G7.superbet.integration.betfair.exchange.GetBetMatchesLiteReq request) throws java.rmi.RemoteException{
    if (bFExchangeService_PortType == null)
      _initBFExchangeServiceProxy();
    return bFExchangeService_PortType.getBetMatchesLite(request);
  }
  
  
}